﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="getCourse.aspx.cs" Inherits="Manage_Service_getCourse" %>
<table class="grid" cellspacing="0" cellpadding="0" width="100%">
    <thead>
        <tr>
            <th width=100%><%=Resources.labels.courseName%>:<input id="cnameTxt" name="cnameTxt" value="<%=obj.Title.Trim() %>" type="text" style="width:300px;" /></th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
            <div style="width:100%;height:300px;overflow-y:scroll;" id="div-li" class="div-content">
            <table cellspacing="0" cellpadding="0" width="100%">
            <%foreach (Exam.Core.Model.Knowledge know in obj.Knowledges) { %>
            <tr id="tr<%=know.Id.Trim() %>">
            <td>
            <%=Resources.labels.Knowlidge%>：
            <%--<input id="isEditKnow<%=know.Id.Trim() %>" name="isEditKnow" value="<%=know.Id.Trim() %>" type="checkbox" />修改--%>
            <input id="KnowTxt" name="KnowTxt" knowid="<%=know.Id.Trim() %>" value="<%=know.Title.Trim() %>" type="text" />
             <%=know.QuestionCount.Trim() %><%=Resources.labels.Question%>
            </td>
            <td width=40%>
            <a href="javascript:void(0)" onclick="return delKnow('<%=know.Id.Trim() %>');"><%=Resources.labels.Delete%></a>
            &nbsp;<span id="kstatus<%=know.Id.Trim() %>" style="display:none;"></span>
            </td>
            </tr>
            <%} %>
            </table>
            </div>
            </td>
        </tr>
    </tbody>
	<tfoot>
	    <tr>
        <td><%=Resources.labels.addKnowledge%>:<input id="NewKnowTxt" name="NewKnowTxt" knowid="" value="" type="text" /> 
        <input id="Button1" type="button" class="litbutton" onclick="addNewKnow('<%=cid %>')" value="<%=Resources.labels.add%>" />
        <span id="addknowstatus" style="display:none;"></span>
        </td></tr>
	    <tr>
	        <td align=left > &nbsp;<%=Resources.labels.count%>：<%=Resources.labels.total%><%=obj.Knowledges.Count %><%=Resources.labels.Knowlidge%>，<%=obj.QuestionCount%><%=Resources.labels.Question%>。</td>
	    </tr>
	</tfoot>
</table>
